package week8;
import java.time.*;

public class TimeDemo2 {
    public static void main(String[] args) {
        LocalDate date = LocalDate.of(2018, Month.APRIL, 30);
        date = date.plusDays(2);
        date = date.plusYears(3);
        System.out.println(date.getYear() + " "
                + date.getMonth() + " "+ date.getDayOfMonth());
    }
}
